package com.coda.app.service;

import com.coda.appVo.room.RoomDetailVo;
import com.coda.appVo.room.RoomQueryVo;
import com.coda.result.PageResult;

public interface RoomService {
    /**
     * 分页查询房间列表
     * @param current
     * @param size
     * @param roomQueryVo
     * @return
     */
    PageResult getPage(Integer current, Integer size, RoomQueryVo roomQueryVo);

    /**
     * 根据id查询房间详细信息
     * @param id
     * @return
     */
    RoomDetailVo getDetailById(Long id);

    /**
     * 根据公寓id分页查询房间信息
     * @param current
     * @param size
     * @param id
     * @return
     */
    PageResult getPageByApratId(Integer current, Integer size, Long id);
}
